SMS Providers Configuration Test
SMS Providers Configuration Test
Path Parameters
workspaceName string required
providerName string required
application/json
Request Body
accountsid
string
Identifier of the sms provider.
authtoken
string
Auth token of the sms Provider.
from
string
Phone number that the message need to be send from.
phoneNumber
string
Test phone number.
Sample Request Body
{
"accountsid":"accountsid",
"authtoken":"sender phoneNumber",
"from":"sender phoneNumber",
"phoneNumber":"99XXXXXXXX"
}
Response
message
string
Error message if the test is not successful
success
boolean
true/false based on the test.
Sample Response
{
"success":true,
"message":""
}
HTTP STATUS CODE SUMMARY | ||
---|---|---|
200 - OK | Successfully done. | |
201 - OK | Successfully created. | |
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
401 - Unauthorized | Unauthorized access try with correct access. | |
402 - Request Failed | The parameters were valid but the request failed. | |
403 - Forbidden | The Application doesn't have permissions to perform the request. | |
404 - Not Found | The requested resource doesn't exist | |
500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
503 - Server Errors | Service temporarily unavailable |
Loading...